<div class="row-fluid sortable">		
	<div class="box span12">
		<div class="box-header well" data-original-title>
			<h2><i class="icon-user"></i> Bab Soal</h2>
			<div class="box-icon">
				<!-- <a href="#" class="btn btn-setting btn-round"><i class="icon-cog"></i></a> -->
				<a href="#" class="btn btn-minimize btn-round"><i class="icon-chevron-up"></i></a>
				<a href="#" class="btn btn-close btn-round"><i class="icon-remove"></i></a>
			</div>
		</div>
		<div class="box-content">
			<p>
				<a class="btn btn-success" href="<?php echo base_url();?>index.php/soal/add_bab"><i class="icon-user icon-white"></i>&nbsp;Add Bab</a>
				<!--<a class="btn btn-success" href="<?php echo base_url();?>index.php/soal/upload_soal"><i class="icon-user icon-white"></i> Upload Soal</a>-->
			</p>	
			<table class="table table-striped table-bordered bootstrap-datatable datatable">
			  <thead>
				  <tr>
				  	<td>Jenjang</td>
				  	<td>Kelas</td>
				  	<td>Pelajaran</td>
				  	<td>Semester</td>
				  	<td>Bab</td>
					<!--<td>Pertanyaan</td>
					<td>Jawaban</td>-->
					<td>Actions</td>
				  </tr>
			  </thead>   
			  <tbody>
			  	<?php foreach($grid as $idx=>$item) { ?>
				<tr>
					<td><?php echo $item['jenjang_name']?></td>
					<td><?php echo $item['kelas_name']?></td>
					<td><?php echo $item['pel_name']?></td>
					<td><?php echo 'Semester '.$item['pel_semester']?></td>
					<td><?php echo $item['bab_name']?></td>
					<!--<td><?php echo $item['pertanyaan']?></td>
					<td><?php echo $item['jawaban']?></td>-->
					<td class="center" style="width:200px;">
						<a class="btn btn-info" href="<?php echo base_url();?>index.php/soal/list_soal/<?php echo $item['bab_id'];?>">
							<i class="icon-edit icon-white"></i>  
							List Soal                                            
						</a>
						<!--<a class="btn btn-danger deleteBtn" href="#" soal="<?php echo $item['id_soal'];?>">							
							<i class="icon-trash icon-white"></i> 
							Delete
						</a>-->
					</td>
				</tr>
				<?php } ?>
			  </tbody>
		  </table>            
		</div>
	</div><!--/span-->

</div><!--/row-->

<div id="dialog-confirm" class="hide" title="Konfirmasi hapus">
<p><span class="ui-icon ui-icon-alert" style="float: left; margin: 0 7px 20px 0;"></span>Apakah anda yakin akan menghapus data ini ?</p>
</div>